package com.example.springbootinit.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.springbootinit.domain.User;


/**
* @author sxt-xy
* @description 针对表【user】的数据库操作Mapper
* @createDate 2025-03-18 21:26:47
* @Entity com.example.springbootinit.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    //所有的CRUD已经编写完成
    //不需要像以前的配置一些xml
    // 分页查询方法
    Page<User> selectPageVoPage(Page<User> page, QueryWrapper<User> queryWrapper);
}
